//
// Created by Tony on 2024/1/19.
//

#ifndef PARSER_STRING_LITERAL_H
#define PARSER_STRING_LITERAL_H

#include "../AstLeaf.h"

namespace Parser {

class StringLiteral final : public AstLeaf {
    string nodeName;

public:
    explicit StringLiteral(const shared_ptr<Lexer::Token>& token) : AstLeaf(token) {
        nodeName = __func__;
    }

    int32_t accept(Compiler::Visitor* visitor) override;
};

} // namespace Parser

#endif // PARSER_STRING_LITERAL_H
